package com.chenfubing.ps.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenfubing
 * @since 2020-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Auth implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 车辆认证表
     */
    @TableId(value = "auth_id")
    private Integer authId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 车辆id
     */
    private String carId;

    /**
     * 车牌号
     */
    private String carLicense;

    /**
     * 认证状态1通过2审核3拒绝
     */
    private Integer carState;

    /**
     * 认证创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createtime;

    /**
     * 认证过期时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime expiredtime;

    /**
     * 收费标准id
     */
    private Integer chargesId;

    /**
     * 社区id
     */
    private Integer communityId;


}
